package com.fusetech.flow.audit.apiService;


import com.fusetech.flow.audit.model.Audit;
import com.fusetech.flow.audit.model.AuditResponse;
import com.fusetech.flow.audit.model.CurrentNode;

/**
 * 审核Api
 * @author Liuwq
 * @version 2023-05-10
 */

public interface IAuditApiService {
    /**
     * 审核api【传入相关数据，调用即可】
     * auditApi
     * @param audit 审核
     * @return {@link AuditResponse}
     */
    public AuditResponse auditApi(Audit audit);

    /**
     * 获取当前表单节点步骤数及节点名称
     *
     * @param documentId
     * @return
     */
    public CurrentNode getCurrentNode(String documentId);

}
